package com.weipai.springboot.module.service;

import com.weipai.springboot.model.MemberLevel;
import com.weipai.springboot.model.api.Response;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/08/07 15:32
 * 
 * 会员等级
 */
public interface MemberLevelService {
    
    //查询数据
    List<MemberLevel> selectAllByDel(int del, String sort, String way);

    //添加
    Response save(MemberLevel memberLevel);

    //修改
    Response update(MemberLevel memberLevel);

    //查询会员等级详情
    Response getMemberLevelById(String id);

    //删除
    Response deleteById(String id);

    //更改会员等级的状态
    Response changeStatus(String id, Integer status);

    //批量删除
    Response batchDeleteById(String[] id);
}
